package com.leeoohoo.user;

import com.leeoohoo.base.BaseEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Data;

@Entity
@Data
public class MyUser extends BaseEntity {

    @Column(length = 55)
    private String username;

    @Column(length = 155)
    private String password;

    @Column(length = 55)
    private String nickName;

    @Column(length = 16)
    private String phone;

    @Column(length = 105)
    private String email;

    private Integer age;

    private String job;

    private Long state;

    /**
     * 0 - 不是 1- 是
     */
    private Integer administratorFlag;

}
